package com.ruibang.glass.sale.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruibang.glass.sale.domain.req.GSaleContractManReq;
import com.ruibang.glass.sale.dto.GSaleContractManagementDTO;
import com.ruibang.glass.sale.entity.GSaleContractManagement;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;


@Repository
@Mapper
public interface GSaleContractManagementMapper extends CommonMapper<GSaleContractManagement> {

    IPage<GSaleContractManagement> getPage(IPage<GSaleContractManagement> page, @Param("gSaleCustomerManReq") GSaleContractManReq gSaleCustomerManReq);

    IPage<GSaleContractManagementDTO> getNewPage(IPage<GSaleContractManagementDTO> page, @Param("gSaleCustomerManReq") GSaleContractManReq gSaleCustomerManReq);


    List<GSaleContractManagement> getGSaleContractManagementList();

}
